package com.sf.fy.uav.good.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 物资类型
 * </p>
 *
 * @author LTQ
 * @since 2023-04-13
 */
@TableName("city_goods_type")
@ApiModel(value = "GoodsType对象", description = "物资类型")
public class CityGoodsType implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("类型名称")
    private String name;

    private Integer displayOrder;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;

    private String cover;

    private String selCover;

    private Integer code;

    private Integer appCode;

    @ApiModelProperty("是否可用")
    private Boolean enable;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDisplayOrder() {
        return displayOrder;
    }

    public void setDisplayOrder(Integer displayOrder) {
        this.displayOrder = displayOrder;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public String getSelCover() {
        return selCover;
    }

    public void setSelCover(String selCover) {
        this.selCover = selCover;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


    public Integer getAppCode() {
        return appCode;
    }

    public void setAppCode(Integer appCode) {
        this.appCode = appCode;
    }

    @Override
    public String toString() {
        return "GoodsType{" +
                "id = " + id +
                ", name = " + name +
                ", displayOrder = " + displayOrder +
                ", updateTime = " + updateTime +
                ", createTime = " + createTime +
                ", cover = " + cover +
                ", enable = " + enable +
                "}";
    }
}
